<?php
use app_supplier\assets\SuppAssets;
use yii\helpers\Html;
use yii\helpers\Url;

SuppAssets::register($this);
SuppAssets::addScript($this,  '@web/js/jsAddress.js');
?>

<div class="box">
    <div class="heading">
        <h1><img src="<?=Url::to('@web/images/')?>category.png" alt=""> 订单管理</h1>
        <div class="buttons">

            <a onclick="javascript:del_order(); " class="button"><span>删除</span></a>


            <!--[<font color="red">18</font>]笔订单总计金额:<font color="Green">￥</font>-->
        </div>
    </div>
    <div class="content">
        <form action="" method="post" enctype="multipart/form-data" id="form">
            <table id="tbl_list" class="list">
                <thead>
                <tr>
                    <td style="text-align: center;" width="1"><input id="unchecked" onclick="$('input[name*=\'selected\']:not(:disabled)').attr('checked', this.checked);" type="checkbox"></td>
                    <td class="center">所属门店</td>
                    <td class="center">
                        <a href="/store/demo/order?sort=order_number&amp;store_id=28&amp;order=ASC">订单编号</a>
                    </td>
                    <td class="center">
                        <a href="/store/demo/order?sort=price&amp;store_id=28&amp;order=ASC">订单金额</a>
                    </td>
                    <td class="center">车 主</td>
                    <td class="center">车主手机</td>
                    <td class="center">车牌号</td>
                    <td class="center">订单状态</td>
                    <td class="center">
                        <a href="/store/demo/order?sort=update_time&amp;store_id=28&amp;order=ASC" class="desc">完成时间</a>
                    </td>
                    <td class="center">
                        <a href="/store/demo/order?sort=point&amp;store_id=28&amp;order=ASC">评 分</a>
                    </td>
                    <td class="center">车 型</td>
                </tr>
                </thead>
                <tbody>
                <tr class="filter">
                    <td></td>
                    <td>
                        <select name="filter_store_id" onchange="javascript:filter();">
                            <option value="*">所有门店</option>
                            <option value="208">车保无忧商务店</option>
                            <option value="28" selected="selected">样板店</option>
                        </select></td>
                    <td class="center"><input name="filter_order_id" value="" style="text-align: right;width:120px;" type="text"></td>
                    <td class="center"><input name="filter_total" value="" size="5" style="text-align: right;" type="text"></td>
                    <td class="center">
                        <input name="filter_customer" value="" size="8" style="text-align: right;" type="text">
                    </td>
                    <td class="center">
                        <input name="filter_mobile" value="" size="11" style="text-align: right;" type="text">
                    </td>
                    <td class="center">
                        <input name="filter_plate" value="" size="8" style="text-align: right;" type="text">
                    </td>
                    <td><select name="filter_order_status_id" onchange="javascript:filter();">
                            <option value="*">所有订单</option>
                            <option value="1">预约成功</option>
                            <option value="2">保养完工</option>
                            <option value="3">已结算</option>
                            <option value="8">订单取消</option>
                        </select></td>
                    <td class="center">
                        <input name="filter_date_added" value="" size="12" class="date hasDatepicker" id="dp1487841707092" type="text">
                        至
                        <input name="filter_date_modified" value="" size="12" class="date hasDatepicker" id="dp1487841707093" type="text">
                    </td>
                    <td></td>
                    <td class="center"><a onclick="filter();" class="button"><span>筛选</span></a></td>
                </tr>


                <tr>
                    <td class="center">
                        <input name="selected[]" value="70851" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=M281702100001" target="_blank">M281702100001</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">包雷</td>
                    <td class="center">13438483704</td>
                    <td class="center">川A88888</td>
                    <td class="center">保养完工</td>
                    <td class="center">2017-02-20 15:22:08</td>
                    <td class="center"></td>
                    <td class="left">B 保时捷 911 3.8T 2014年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70849" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=M281702090002" target="_blank">M281702090002</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">吃吃吃</td>
                    <td class="center">18380476134</td>
                    <td class="center">沪AF36669</td>
                    <td class="center">保养完工</td>
                    <td class="center">2017-02-20 14:14:03</td>
                    <td class="center"></td>
                    <td class="left">B 本田 奥德赛3代 2.4L 2007年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70854" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=M281702100004" target="_blank">M281702100004</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">何小娟</td>
                    <td class="center">18380476134</td>
                    <td class="center">川A12345</td>
                    <td class="center">保养完工</td>
                    <td class="center">2017-02-17 11:36:03</td>
                    <td class="center"></td>
                    <td class="left">未知</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70855" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=M281702130001" target="_blank">M281702130001</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">小娟</td>
                    <td class="center">18328360493</td>
                    <td class="center">川A52525</td>
                    <td class="center">保养完工</td>
                    <td class="center">2017-02-16 17:31:50</td>
                    <td class="center"></td>
                    <td class="left">未知</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70853" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/operation?order_number=M281702100003" target="_blank">M281702100003</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">何小娟</td>
                    <td class="center">18380476134</td>
                    <td class="center">川A12345</td>
                    <td class="center">预约成功</td>
                    <td class="center">2017-02-10 17:27:55</td>
                    <td class="center"></td>
                    <td class="left">未知</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70852" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/operation?order_number=M281702100002" target="_blank">M281702100002</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">包雷</td>
                    <td class="center">13438483704</td>
                    <td class="center">川A88888</td>
                    <td class="center">预约成功</td>
                    <td class="center">2017-02-10 17:07:02</td>
                    <td class="center"></td>
                    <td class="left">B 保时捷 911 3.8T 2014年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70850" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=W281702090003" target="_blank">W281702090003</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">吃吃吃</td>
                    <td class="center">18380476134</td>
                    <td class="center">沪AF36669</td>
                    <td class="center">保养完工</td>
                    <td class="center">2017-02-09 12:30:31</td>
                    <td class="center"></td>
                    <td class="left">B 本田 奥德赛3代 2.4L 2007年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70848" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/operation?order_number=M281702090001" target="_blank">M281702090001</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">吃吃吃</td>
                    <td class="center">18380476134</td>
                    <td class="center">沪AF36669</td>
                    <td class="center">预约成功</td>
                    <td class="center">2017-02-09 12:26:05</td>
                    <td class="center"></td>
                    <td class="left">B 本田 奥德赛3代 2.4L 2007年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70847" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=M281702070001" target="_blank">M281702070001</a>


                    </td>
                    <td class="right">￥25</td>
                    <td class="center">杨利强</td>
                    <td class="center">15281753650</td>
                    <td class="center">川A12324</td>
                    <td class="center">已结算</td>
                    <td class="center">2017-02-07 17:00:48</td>
                    <td class="center"></td>
                    <td class="left">B 本田 奥德赛4代 2.4L 2013年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70846" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=W281701250003" target="_blank">W281701250003</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">杨利强</td>
                    <td class="center">15281753650</td>
                    <td class="center">川A12324</td>
                    <td class="center">保养完工</td>
                    <td class="center">2017-01-25 16:38:00</td>
                    <td class="center"></td>
                    <td class="left">B 本田 奥德赛4代 2.4L 2013年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70845" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=W281701250002" target="_blank">W281701250002</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">何小娟</td>
                    <td class="center">18380476134</td>
                    <td class="center">川B52525</td>
                    <td class="center">保养完工</td>
                    <td class="center">2017-01-25 11:18:37</td>
                    <td class="center"></td>
                    <td class="left">B 本田 CR-V思威 2.4L 2006年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70844" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=W281701250001" target="_blank">W281701250001</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">杨利强</td>
                    <td class="center">15281753650</td>
                    <td class="center">川A12324</td>
                    <td class="center">保养完工</td>
                    <td class="center">2017-01-25 11:02:01</td>
                    <td class="center"></td>
                    <td class="left">B 本田 奥德赛4代 2.4L 2013年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70841" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=M281701240004" target="_blank">M281701240004</a>


                    </td>
                    <td class="right">￥50</td>
                    <td class="center">杨利强</td>
                    <td class="center">15281753650</td>
                    <td class="center">川A12324</td>
                    <td class="center">已结算</td>
                    <td class="center">2017-01-25 10:14:15</td>
                    <td class="center"></td>
                    <td class="left">B 本田 奥德赛4代 2.4L 2013年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70843" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=W281701240006" target="_blank">W281701240006</a>


                    </td>
                    <td class="right">￥15</td>
                    <td class="center">杨利强</td>
                    <td class="center">15281753650</td>
                    <td class="center">川A12324</td>
                    <td class="center">已结算</td>
                    <td class="center">2017-01-24 17:40:16</td>
                    <td class="center"></td>
                    <td class="left">B 本田 奥德赛4代 2.4L 2013年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70842" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=W281701240005" target="_blank">W281701240005</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">杨利强</td>
                    <td class="center">15281753650</td>
                    <td class="center">川A12324</td>
                    <td class="center">已结算</td>
                    <td class="center">2017-01-24 17:35:59</td>
                    <td class="center"></td>
                    <td class="left">B 本田 奥德赛4代 2.4L 2013年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70838" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=M281701240001" target="_blank">M281701240001</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">何小娟</td>
                    <td class="center">18380476134</td>
                    <td class="center">川A12345</td>
                    <td class="center">保养完工</td>
                    <td class="center">2017-01-24 16:23:34</td>
                    <td class="center"></td>
                    <td class="left">未知</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70840" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=M281701240003" target="_blank">M281701240003</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">包雷</td>
                    <td class="center">13438483704</td>
                    <td class="center">川A88888</td>
                    <td class="center">保养完工</td>
                    <td class="center">2017-01-24 16:20:33</td>
                    <td class="center"></td>
                    <td class="left">B 保时捷 911 3.8T 2014年生产</td>
                </tr>
                <tr>
                    <td class="center">
                        <input name="selected[]" value="70839" type="checkbox">
                    </td>
                    <td class="left">样板店</td>
                    <td class="center">

                        <a href="/store/demo/order/view?order_number=M281701240002" target="_blank">M281701240002</a>


                    </td>
                    <td class="right">￥0</td>
                    <td class="center">何小娟</td>
                    <td class="center">18380476134</td>
                    <td class="center">川A12345</td>
                    <td class="center">已结算</td>
                    <td class="center">2017-01-24 16:17:31</td>
                    <td class="center"></td>
                    <td class="left">未知</td>
                </tr>
                </tbody>
            </table>
        </form>
        <div class="pagination"><div class="results">显示 1 - 18 之 18 (共计 1 页)</div></div>
    </div>
</div>
